extends Control

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	Black.visible=false
	await get_tree().create_timer(0.1).timeout
	Global.player_movment_mode.emit("suspend")
	pass # Replace with function body.

func _input(event: InputEvent) -> void:
	if event is InputEventMouseButton:
		if event.button_mask==MOUSE_BUTTON_LEFT:
			if event.pressed:
				var dir=event.position-%Player.position
				Global.player_suspend_rush.emit(dir,3000)
				pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass
